#  Copyright (C) 2010 Luca Piccinelli
# 
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#  
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#  
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.

from pypelab.common.patterns import Borg
from PyQt4 import QtGui, QtCore

'''
Created on Jul 3, 2011

@author: picci
'''

class RenderProperties(Borg):
    def __init__(self):
#        if len(self.__dict__) > 0: return
        
        self.work_area_text_font  = QtGui.QFont("Verdana", 8)
        self.work_area_text_brush = QtGui.QBrush(QtCore.Qt.black)
        self.work_area_text_pen   = QtGui.QPen(QtCore.Qt.SolidLine)
        self.work_area_text_pen.setBrush(self.work_area_text_brush)
        
        self.enabled_color = QtGui.QColor(168, 199, 54)
        
        self.in_gen_color = self.enabled_color
        self.out_gen_color = QtGui.QColor(156, 179, 223)
        self.in_out_gen_color = QtGui.QColor(129, 223, 197)
        self.gen_disabled_color = QtGui.QColor(247, 155, 155)